package com.example.demo.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author fjh
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("exam_paper_file")
public class ExamPaperFile {
    @TableId
    private Integer id;
    private Integer examFileId;
    private Integer examPaperId;
    private String nodeId;
    private Integer score;

    public void copyExamPaperFile(ExamPaperFile examPaperFile){
        this.examFileId=examPaperFile.getExamFileId();
        this.examPaperId=examPaperFile.getExamPaperId();
        this.nodeId=examPaperFile.getNodeId();
    }
}
